package com.libary.service.Impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.libary.dao.Impl.BookDaoImpl;
import com.libary.dto.Book;
import com.libary.service.IBookService;
@Service
public class BookServiceImpl implements IBookService {

	@Autowired
	private BookDaoImpl bookDao;
	@Override
	public List<Book> searchBooks(Book book) {
			
		return (List<Book>)bookDao.getBooks(book);
	}
}

	
